package ncut.shumei.service;

import ncut.shumei.dto.MaintenanceTaskCreateRequest;
import ncut.shumei.dto.MaintenanceTaskDTO;
import java.util.List;

public interface MaintenanceTaskService {
    List<MaintenanceTaskDTO> getTasks(String status, Integer elevatorId, Integer maintainerId);
    MaintenanceTaskDTO getTask(Integer id);
    MaintenanceTaskDTO createTask(MaintenanceTaskCreateRequest request);
    MaintenanceTaskDTO updateTask(Integer id, MaintenanceTaskCreateRequest request);
    void deleteTask(Integer id);
    void updateTaskStatus(Integer id, String status, Integer userId);
    void addComment(Integer taskId, String content, Integer userId);
} 